package main

import (
	"gitee.com/microsevice/helloworld/cmd"
	"gitee.com/microsevice/helloworld/logger"
)

func main() {
	// program command
	cmd.SetLongDesc("cmd")
	cmd.Execute("cmd")

	logD := logger.New(logger.DevelopmentConfig)

	logD.Info("Development")

	logP := logger.New(logger.ProductionConfig)

	logP.Info("Production")

	i := 258
	logger.Debugln("0123", "4567", "8910", i)
	logger.Debug("0123", "4567", "8910", i)
	logger.Debugln("0123", "4567", "8910", i)

	//ch := make(chan struct{})
	//<-ch
}
